Skip to main content

FlowContinue Methods

An object defining methods for the FlowContinue class.

SetEventId(eventId)​

Sets the event ID for the workflow continuation.

Parameters:​

eventId (required): string
The event ID to be set.

Returns:​

Type: void
Method does not return anything

This is a sync method. Method runs synchronously.


SetObjectName(objectName)​

Sets the object name for the workflow process.

Parameters:​

objectName (required): string
The object name to be set.

Returns:​

Type: void
Method does not return anything

This is a sync method. Method runs synchronously.


SetProcessId(processId)​

Sets the process ID for the workflow continuation.

Parameters:​

processId (required): string
The process ID to be set.

Returns:​

Type: void
Method does not return anything

This is a sync method. Method runs synchronously.


SetDefault()​

Resets the process ID, object name, and event ID to their default values.

Returns:​

Type: void
Method does not return anything

This is a sync method. Method runs synchronously.


GetProcessId()​

Retrieves the process ID for workflow continuation.

Returns:​

Type: long
Returns the process ID for workflow continuation.

This is a sync method. Method runs synchronously.


GetObjectName()​

Retrieves the object name for the workflow process.

Returns:​

Type: string
Returns the object name for the workflow process.

This is a sync method. Method runs synchronously.


Execute(workflowUserContext, projectName, flowName)​

Executes the workflow continuation process.

Parameters:​

workflowUserContext (required): #linkDocument(csharp-Bimser.Synergy.Entities.Shared.Business.Objects.Context)
The context of the workflow user.

projectName (required): string
The name of the project for workflow continuation.

flowName (required): string
The name of the flow for workflow continuation.

Returns:​

Type: Task
Task without value

This is a async method. Method should be waited. Be careful if call this method without waiting.

See Also​


Initialize()​

Initializes the FlowContinue object.

Returns:​

Type: void
Method does not return anything

This is a sync method. Method runs synchronously.


GetEventId()​

Retrieves the event ID for workflow continuation.

Returns:​

Type: int
Returns the event ID for workflow continuation.

This is a sync method. Method runs synchronously.